<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学子页面</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }

        .center{
            width: 1000px;
            margin: 0 auto;
        }
        .f1{
            overflow: hidden;
            margin-bottom: 10px;
        }
        .f1>.left{
            width: 611px;
            height: 376px;
            background-color: #e8e8e8;
            float: left;
            margin-right: 10px;
            position: relative;
        }
        .f1>.left>.text {
            width: 245px;
            height: 232px;
            /*background-color: pink;*/
            margin-top:68px;
            margin-left: 36px;
        }
        .f1>.left>img{
            width: 318px;
            height: 319px;
            position: absolute;
            top: 35px;
            left: 265px;
        }

        .f1>.right {
            width: 375px;
            height: 376px;
            background-color: #e8e8e8;
            float: left;
            position: relative;
        }

        .f1>.right>.text {
            width: 245px;
            height: 232px;
            /*background-color: pink;*/
            margin-top: 39px;
            margin-left: 25px;
        }

        .f1>.right>img{
            width: 292px;
            height: 232px;
            position: absolute;
            top: 130px;
            left: 75px;

        }

        .f1 .text{
            width: 245px;
            height: 232px;
            margin-top: 68px;
            margin-left: 36px ;
        }
        .f1 .text>.p_title {
            font-size: 32px;
            color: #333;
            font-weight: lighter;
        }
        .f1 .text>.p_info {
            font-size: 12px;
            color: #666;
            font-weight: lighter;
            margin-top: 12px;
            margin-bottom: 24px;
        }
        .f1 .text>.p_price {
            font-size: 24px;
            font-weight: bold;
            color: #0aa1ed;
            margin-bottom: 12px;
        }
        .f1 .text>a {
            display: block;
            width: 132px;
            height: 40px;
            background-color: #0aa1ed;
            color: #fff;
            font-size: 20px;
            text-decoration: none;
            text-align: center;
            line-height: 40px;
        }
        /* 给图片设置过度时间为2s 注意加到此处*/
        .scale {
            transition: 2s;
        }

        .scale:hover {
            transform: scale(1.1);
        }

        /*f2*/
        .f2{
            overflow: hidden;
        }

        .f2>.left{
            width: 366px;
            height: 233px;
            background-color: pink;
            float: left;
            margin-right:20px;
        }
        .f2>.card{
            width: 198px;
            height: 233px;
            background-color: #0aa1ed;
            float: left;
            margin-right: 8px;
        }
        .f2 .card3 {
            margin-right: 0;
        }
        ul{
            /*background-color: #0aa1ed;*/
            padding: 0px;
            margin: 0px;
            overflow: hidden;
            list-style: none;/*取出列表项前的黑色实心圆*/
        }
        ul>li {
            width: 100px;
            height: 40px;
            /*border: 5px solid #f00;*/
            /*让所有导航项li横着排*/
            float: left;
            text-align: center;
            color: #fff;
            line-height: 40px;
        }

    </style>
</head>
<body>

    <div class="main">
        <div class="center">
            <div class="f1">
                <div class="left">
                    <div class="text">
                        <p class="p_title">灵越 燃7000系列</p>
                        <p class="p_info">
                            酷睿双核i5处理器|256GB SSD| 8GB内存 <br>
                            英特尔HD显卡620含共享显卡内存
                        </p>
                        <p class="p_price">￥4999.00</p>
                        <a href="#">查看详情</a>
                    </div>
                    <img src="computer1.png" class="scale">
                </div>

                <div class="right">
                    <div class="text">
                        <p class="p_title">颜值 框不住</p>
                        <p class="p_info">
                            酷睿双核i5处理器|256GB SSD| 8GB内存 <br>
                            英特尔HD显卡620含共享显卡内存
                        </p>
                        <p class="p_price">￥6888.00</p>
                        <a href="#">查看详情</a>
                    </div>
                    <img src="computer2.png" class="scale">
                </div>

            </div>

            <!-- 二楼 -->
            <div class="f2">
                <!-- 二楼左侧 -->
                <div class="left">
                    <div class="tit" >
                        <img src="../img/" alt="">
                        <span>电脑，办公1F</span>
                    </div>
                    <div class="item_all" >

                        <p class="tit_p"> 电脑整机
                            <!-- 二楼左侧ul -->
                            <ul>
                                <li><a href="#">笔记本</a></li>
                                <li><a href="#">台式机</a></li>
                                <li><a href="#">游戏机</a></li>
                                <li><a href="#">一体机</a></li>
                                <li><a href="#">服务器</a></li>
                                <li><a href="#">联想</a></li>
                            </ul>
                        </p>

                        <p class="tit_p"> 电脑配件
                            <ul>
                                <li><a href="#">CPU</a></li>
                                <li><a href="#">SSD硬盘</a></li>
                                <li><a href="#">显示器</a></li>
                                <li><a href="#">显卡</a></li>
                                <li><a href="#">组装电脑</a></li>
                                <li><a href="#">机箱</a></li>
                            </ul>
                        </p>

                    </div>
                </div>
                <!-- 二楼卡片 -->
                <div class="card">
                    <img src="img/computer3.png">
                    <p>

                    </p>
                    <p class="p_price"> ￥4600.00 </p>
                    <a href="#"> 查看详情 </a>
                </div>
                <div class="card"></div>
                <div class="card card3"></div>
            </div>
        </div>

    </div>

</body>
</html>